<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ page import="com.store.application.Order"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Customer</title>
</head>
<body>

Order :<br>
	<% 	Order order = (Order)request.getAttribute("order"); %>
	- number of items: <%=order.getNumberOfProducts()%>.<br>
	- price: <%=order.getPrice()%> euros.<br>
	

<form action="/venteEnLigne/editCustomerProfile" method="post">
	Customer:<br>
	- first name = <input type="text" name="firstName"><br>
	- last name = <input type="text" name="lastName"><br>
	<input type="submit" name="customerProfile" value="OK">
	<input type="submit" name="customerProfile" value="cancel">
	<input type="hidden" name="orderIdentifier" value="<%=order.getId()%>">
</form>

</body>
</html>